std::tan
From Cppreference
| Defined in header
<cmath> | ||
| float tan( float arg );
| ||
| double tan( double arg );
| ||
| long double tan( long double arg );
| ||
Computes tangent of arg
Parameters
| arg | - | floating point value representing angle in radians |
Return value
tangent of arg.
Domain error occurs if arg is infinite. NAN is returned in that case.
See also
| sine (function) | |
| cosine (function) | |
| arc tangent (function) | |